package com.cms.admin.action.privilege;

import com.cms.admin.action.BaseAction;
import com.cms.admin.model.MedicalTreatRecord;
import com.cms.admin.model.MedicalTreatRecordExt;
import com.cms.admin.service.privilege.MedicalTreatRecordService;
import com.opensymphony.xwork2.ModelDriven;

import java.util.List;

/**
 * Created by YYY-Work on 2017/5/17.
 */
public class MedicalTreatRecordAction extends BaseAction implements ModelDriven<MedicalTreatRecordExt>{

    private MedicalTreatRecordService medicalTreatRecordService;
    private MedicalTreatRecordExt search=new MedicalTreatRecordExt();

    public String ajaxQueryMedicalTreatRecordByRegisterid()
    {
        List<MedicalTreatRecord> medicalTreatRecords=medicalTreatRecordService.queryMedicalTreatRecordByRegisterid(search.getRegisterid());


        return null;
    }


    @Override
    public MedicalTreatRecordExt getModel() {
        return search;
    }
}
